package com.designPattern.decorator;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: Sunshine Insurance Group Co., Ltd.</p>
 *
 * @author lbb
 * @version 1.0
 * 修改记录：
 * 修改序号，修改日期，修改人，修改内容
 */
public class CatchfishSkills extends Skills {




    public CatchfishSkills(Animal animal) {
        super(animal);
    }


    private void CatchFish(){

        System.out.println("学会了抓鱼！----");
    }

    @Override
    public void eat() {
        super.eat();
        this.CatchFish();
    }
}
